﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel.ProtocolPay
{
    /// <summary>
    /// 协议支付抽象
    /// </summary>
    public interface IProtocolPay : IChannel
    {
        /// <summary>
        /// 银行卡绑定验证
        /// </summary>
        /// <param name="apply">申请</param>
        /// <returns></returns>
        bool BankCardBindValidate(IProtocolBindApply apply);

        /// <summary>
        /// 银行卡绑定
        /// </summary>
        /// <param name="apply">申请</param>
        /// <returns></returns>
        IProtocolBindApplyResult BankCardBind(IProtocolBindApply apply);

        /// <summary>
        /// 解除银行卡绑定
        /// </summary>
        /// <param name="apply">申请</param>
        /// <returns></returns>
        IProtocolApplyResult UnBankCardBind(IProtocolUnBindApply apply);


    }
}
